/*
 *  Copyright 2001-2004 The Apache Software Foundation
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package ar.uba.fi.posgrado.economy.web.form.provider;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;

import ar.uba.fi.posgrado.economy.model.Honorary;
import ar.uba.fi.posgrado.economy.model.Pay;
import ar.uba.fi.posgrado.economy.model.ProviderAccount;

/**
 * Form para {@link ProviderAccount Cuenta Corriente de Proveedores (docentes)}
 * 
 * @author pablo.tortorella
 */
@SuppressWarnings("serial")
public class ProviderAccountForm extends ActionForm {

	private Long accountId;

	private Long teacherId;

	private String teacherName;

	private Double totalDebt;

	private List<Honorary> activeHonoraries = new ArrayList<Honorary>();

	private List<Pay> pays = new ArrayList<Pay>();

	// En caso de ser recibido indica a donde debe ser redireccionado el
	// findForward
	private String redirectTo;

	/**
	 * @return the pays
	 */
	public List<Pay> getPays() {
		return pays;
	}

	/**
	 * @param pays
	 *            the pays to set
	 */
	public void setPays(List<Pay> pays) {
		this.pays = pays;
	}

	/**
	 * @return the activeHonoraries
	 */
	public List<Honorary> getActiveHonoraries() {
		return activeHonoraries;
	}

	/**
	 * @param activeHonoraries
	 *            the activeHonoraries to set
	 */
	public void setActiveHonoraries(List<Honorary> activeHonoraries) {
		this.activeHonoraries = activeHonoraries;
	}

	/**
	 * @return the teacherId
	 */
	public Long getTeacherId() {
		return teacherId;
	}

	/**
	 * @param teacherId
	 *            the teacherId to set
	 */
	public void setTeacherId(Long customerId) {
		this.teacherId = customerId;
	}

	/**
	 * @return the totalDebt
	 */
	public Double getTotalDebt() {
		return totalDebt;
	}

	/**
	 * @param totalDebt
	 *            the totalDebt to set
	 */
	public void setTotalDebt(Double totalDebt) {
		this.totalDebt = totalDebt;
	}

	/**
	 * @return the teacherName
	 */
	public String getTeacherName() {
		return this.teacherName;
	}

	/**
	 * @param teacherName
	 *            the teacherName to set
	 */
	public void setTeacherName(String name) {
		this.teacherName = name;
	}

	/**
	 * @return the accountId
	 */
	public Long getAccountId() {
		return this.accountId;
	}

	/**
	 * @param accountId
	 *            the accountId to set
	 */
	public void setAccountId(Long id) {
		this.accountId = id;
	}

	/**
	 * @return the redirectTo
	 */
	public String getRedirectTo() {
		return this.redirectTo;
	}

	/**
	 * @param redirectTo
	 *            the redirectTo to set
	 */
	public void setRedirectTo(String redirectTo) {
		this.redirectTo = redirectTo;
	}

}
